package net.yambal.RTM.Event
{
	import flash.events.Event;
	
	import net.yambal.RTM.Items.RTMList;
	import net.yambal.RTM.Items.RTMTransaction;

	public class ListsEvent extends Event
	{
		public static const LISTS:String = "lists";
		public static const ADD:String = "add";
		public static const ARCHIVE:String = "archive";
		public static const SET_DEFAULT_LIST:String = "set_default_list";
		public static const DELETE:String = "delete";
		public static const SET_NAME:String = "set_name";
		public static const UN_ARCHIVE:String = "un_archive";
		
		public var lists:Array;
		public var list:RTMList;
		public var transaction:RTMTransaction;
		
		public function ListsEvent(type:String, lists:Array = null, list:RTMList=null, transaction:RTMTransaction=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.lists = lists;
			this.list = list;
			this.transaction = transaction;
		}
		
	}
}